
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>出入闸信息查询</title>

<link rel="stylesheet" type="text/css" href="/js/jquery-easyui-1.3.3/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="/js/jquery-easyui-1.3.3/themes/icon.css">
<script type="text/javascript" src="/js/jquery-easyui-1.3.3/jquery.min.js"></script>
<script type="text/javascript" src="/js/jquery-easyui-1.3.3/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/jquery-easyui-1.3.3/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/jquery-cookie.js"></script>

<script type="text/javascript">

	function searchReader()
	{
//		alert($('#s_tkId').val());
		$('#dg').datagrid('load',{
			tkId:$('#s_tkId').val(),
//			tkId:$('#s_tkId').val(),
//			readerId:$('#s_readerId').val(),
//			departmentName:$('#s_departmentName').val(),
//			beginday:$('#s_beginday').datebox("getValue"),
//			endday:$('#s_endday').datebox("getValue"),
//			outputexcel:'False',
		});
		
	}
	
	function formatImg2(val, row) {
		
		if (row.accessstat == "reject"){
			return '<img src=/blacklistimages/' + row.cardid + '/' + row.imagefile + '>';
		}
		else{
			return '<img src=/registorimages/' + row.cardid + '/' + row.imagefile + '>';	
		}
			
	}
	
	function formatImg(val, row) {
		return '<img src=/registorimages/' + row.cardid + '/' + row.imagefile + '>';	
	}
	
	function formatAccessImg(val, row) {
		return '<img src=/accessimages/' + row.accessimagefile + '>';	
	}	
	
</script>

</head>


<body>

	<table id="dg" title="出入闸信息查询" class="easyui-datagrid" fitColumns="false"
	 pagination="true" rownumbers="true" url="/class/visitrecordList.php" fit="true" toolbar="#toolbar">
		<thead>
			<tr>
				<th field="tkid" width="60">序号</th>
				<th field="cardnum" width="100">卡号</th>
				<th field="gonghao" width="100">工号</th>
				<th field="gatenum" width="50">闸号</th>
				<th field="controlerNum" width="100" >设备号</th>	
                <th field="CreatedTime"  width="150" >刷卡时间</th>	
				<th field="accessstat" width="80">是否放行</th>
				<th field="entrance" width="80">是否在内</th>
				<th field="xjieguo"  width="80" >x光结果</th>	
				<th field="rljieguo" width="80">人脸识别</th>
				<th field="ajjieguo" width="80">安检结果</th>
				<!--<th field="departmentname" width="100">部门名</th>
				<th field="type" width="50">类型</th>
				<th field="deviceid" width="50">门号</th>
				<th field="entrance" width="100">进出门口</th>
				<th field="accessstat" width="100">访问状态</th>
				<th field="imagefile" width="100">登记图像文件</th>
				<th field="accessimagefile" width="100">到访图像文件</th>-->
				
			</tr>
		</thead>
	</table>
	
	<div id="toolbar">
		<div>
			&nbsp;序号：&nbsp;<input type="text" name="s_tkId" id="s_tkId" size="15"/>
		    <!--&nbsp;读者姓名：&nbsp;<input type="text" name="s_readerName" id="s_readerName" size="15"/>
		    &nbsp;部门：&nbsp;<input type="text" name="s_departmentName" id="s_departmentName" size="15"/>
		    &nbsp;起始日期：&nbsp;<input class="easyui-datebox" name="s_beginday" id="s_beginday" editable="false" size="15"/>
		    &nbsp;终止日期：&nbsp;<input class="easyui-datebox" name="s_endday" id="s_endday" editable="false" size="15"/>-->
	         
		    <a href="javascript:searchReader()" class="easyui-linkbutton" iconCls="icon-search" plain="true">搜索</a>
            <a href="/java_web_library/downloadrecord" class="easyui-linkbutton" iconCls="icon-save" plain="true">导出记录  </a>   
		</div>
	</div>	
    
</body>

</html>
